﻿<?xml version="1.0"?>
<xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
	<xsl:template match="/">
	
	<div id="datosgrales" class="datosgrales">		
			<H1><xsl:value-of  select="file/annio"/></H1>
	 	 <span class="leyenda"><strong>Censo electoral:</strong></span><xsl:value-of  select="file/censo"/> censados<br />
	 	 <span class="leyenda"><strong>Participación %:</strong></span><xsl:value-of  select="file/part"/>
	</div>	
	<div class="divTablaDatos">	
		<table id="tablaInternaDatos" class="tablaDatos" cellpadding="0" cellspacing="0">
		<th class="t1" align="left">Candidatura</th><th class="t2" align="center">Votos</th><th class="t3" align="center">% Válidos</th><th class="t4" align="center">Esc.</th>

		
			

	<!--	<div id="keke" >	-->			

<xsl:for-each select="file/datos">
   <tr  valign="middle">
		<td align="left">
				<!--<div id="cand"> -->
					
					<img src="img/{imgColor}" /> 
					<xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text>
					<xsl:value-of  select="cand"/>						
						
				<!--	</div> -->
		</td>			
		<td align="center">
		<!--	<div id="votos"> -->
						<xsl:value-of  select="votos"/>					
		<!--			</div> -->
		</td>			
		<td align="center">
		<!--	<div id="validos"> -->
						<xsl:value-of  select="validos"/>					
		<!--			</div> -->
		</td>			
		<td align="center">
		<!--	<div id="diputados"> -->
						<xsl:value-of  select="diputados"/>					
		<!--			</div> -->
		</td>
		
  </tr> 
</xsl:for-each>
  </table> 
	</div>

	</xsl:template>
</xsl:transform>
 
        	      


 
